package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二维码生成记录对象 quick_mark_record
 * 
 * @author ruoyi
 * @date 2024-04-15
 */
public class QuickMarkRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 二维码地址 */
    @Excel(name = "二维码地址")
    private String quickMarkUrl;

    /** 生成时效（数据字典） */
    @Excel(name = "生成时效", readConverterExp = "数=据字典")
    private String timeLimit;

    /** 是否加入审批（0：加入 1：不加入） */
    @Excel(name = "是否加入审批", readConverterExp = "0=：加入,1=：不加入")
    private String isApprove;

    /** 状态（0：正常 1：过期） */
    @Excel(name = "状态", readConverterExp = "0=：正常,1=：过期")
    private String status;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuickMarkUrl(String quickMarkUrl) 
    {
        this.quickMarkUrl = quickMarkUrl;
    }

    public String getQuickMarkUrl() 
    {
        return quickMarkUrl;
    }
    public void setTimeLimit(String timeLimit) 
    {
        this.timeLimit = timeLimit;
    }

    public String getTimeLimit() 
    {
        return timeLimit;
    }
    public void setIsApprove(String isApprove) 
    {
        this.isApprove = isApprove;
    }

    public String getIsApprove() 
    {
        return isApprove;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("quickMarkUrl", getQuickMarkUrl())
            .append("timeLimit", getTimeLimit())
            .append("isApprove", getIsApprove())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
